package com.waitingresult.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: WangShuai
 * @CreateTime: 2022-11-21  09:39
 * @Description: minio 配置
 * @Version: 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinIoProperties {
    /**
     * 连接地址
     */
    private String endpoint;
    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;
    /**
     * 默认桶
     */
    private String bucketName;
}
